home *** CD-ROM | disk | FTP | other *** search
/ Mac Cubed 3 / Mac Cubed 3 - Disc 1.iso / •IMPORTANTInstall these files!• / BBEdit Lite 4.0.1 / BBEdit Lite 4.0 / BBEdit Lite 4.0.rsrc / gPA2_1024_Default Patterns.txt < prev    next >
Text File  |  1997-03-17  |  794b  |  30 lines

  1. # (decoded with TMPL 135)
  2. Number of Patterns: (7 entries)
  3.   0:
  4.     Title: 'Pascal Comment to C Comment'
  5.     Search Pattern: '{([^}]*)}'
  6.     Replace Pattern: '/* \1 */'
  7.   1:
  8.     Title: 'C++ Comment to C Comment'
  9.     Search Pattern: '//(.*)'
  10.     Replace Pattern: 'w'
  11.   2:
  12.     Title: 'Space Runs to Tabs'
  13.     Search Pattern: ' +'
  14.     Replace Pattern: '\t'
  15.   3:
  16.     Title: 'C Function Header'
  17.     Search Pattern: '^[^ \t#\r/@][^\r]*\([^\r]*\)$'
  18.     Replace Pattern: ''
  19.   4:
  20.     Title: 'C Comment to Pascal Comment'
  21.     Search Pattern: '/\*([^\r]*)\*/'
  22.     Replace Pattern: '{\1}'
  23.   5:
  24.     Title: 'Shift Variables Right'
  25.     Search Pattern: '(.*)(\t\t*)(.*)'
  26.     Replace Pattern: '\1\2\t\3'
  27.   6:
  28.     Title: 'Shift Variables Left'
  29.     Search Pattern: '(.*)(\t)(\t*)(.*)'
  30.     Replace Pattern: '\1\3\4'